package hflyeer.gitee.com.dao;

import hflyeer.gitee.com.entity.Employee;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EmployeeDao {
    void insert(Employee employee);
    void delete(String sn);
    void update(Employee employee);
    Employee get(String sn);
    List<Employee> getAll();
}
